#ifndef SERVERMONITORAPI_H
#define SERVERMONITORAPI_H

#include <QObject>
#include <QMainWindow>
#include <QtNetwork>
#include <QDebug>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <Utils.h>
#include <config.h>

class ServerMonitorApi : public QObject
{
    Q_OBJECT
public:
    explicit ServerMonitorApi(QObject *parent = nullptr);
    QNetworkReply* server();
private:
    QString baseUrl ;
    QNetworkRequest request;
    QNetworkAccessManager *manager ;

};

#endif // SERVERMONITORAPI_H
